package com.codedog.entity;

import lombok.Data;

import java.util.Date;

@Data
public class Record {
    //班级ID
    private Integer id;
    //班级名称
    private String name;
    private Integer type;
    private Integer classPeriodId;
    private String classPeriodName;
    private Integer courseProgressCount;
    private String courseProgressName;
    private CourseRate courseRate;
    private Integer manageId;
    private String managerName;
    private Integer minLimit;
    private Integer maxLimit;
    private Integer allocatedNum;
    private ClassState classState;
    private Integer lbkClassPeriodId;
    private Date startTime;
    private Date endTime;
    private Date createTime;
    private Long operatorId;
    private Long adminId;
    private Integer refundNum;
    private Integer suspendNum;
    private Date lockTime;
    private Date mediumTermRenewalTime;
    private Date endClassRenewalTime;
    private Integer lockClassCustomerNum;
    private Integer lockClassInCustomerNum;
    private Integer lockClassInAvailableCustomerNum;
    private Integer classManagerCustomerNum;
    private Long internalId;
    private String upgradeClass;
    private Integer classType;
    private Integer renewedDenominator;

    @Data
    public class CourseRate {
        private String name;
        private Integer code;
        private String desc;
    }

    @Data
    public class ClassState {
        private String name;
        private Integer code;
        private String desc;
    }
}
